PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Blobby / suksma - bounce shape exp 4 2 - cross teacher name on board punish.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.995 |
| 9 | fVideoEchoZoom=1.007 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=1.413 |
| 26 | fWaveScale=1.131 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.660 |
| 29 | fModWaveAlphaStart=2.000 |
| 30 | fModWaveAlphaEnd=2.000 |
| 31 | fWarpAnimSpeed=0.626 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=10.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.08925 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.240 |
| 48 | wave_y=0.440 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=sw = (1-sw)*above(sample,0); |
| 89 | wave_0_per_point2= |
| 90 | wave_0_per_point3=osa = sample*above(sample,0); |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=mod = pow(value1*2,2)*sign(value1)*.5; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mod = value1; |
| 95 | wave_0_per_point8=mod = mod*sw; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10=y = if(sw,osa,sample); |
| 98 | wave_0_per_point11=y = sample; |
| 99 | wave_0_per_point12=x = .5 - mod*.5; |
| 100 | wave_0_per_point13= |
| 101 | wave_0_per_point14=osa = sample; |
| 102 | wave_0_per_point15= |
| 103 | wave_0_per_point16=mo = 3.7 + mod*6 + q10; |
| 104 | wave_0_per_point17= |
| 105 | wave_0_per_point18=r = q16;//.5 + sin(mo)*.5; |
| 106 | wave_0_per_point19=g = q17;//.5 + sin(mo + 1.0472)*.5; |
| 107 | wave_0_per_point20=b = q15;//.5 + sin(mo + 2.0944)*.5; |
| 108 | wave_0_per_point21= |
| 109 | wave_0_per_point22=a = 1 - abs(mod)*12; |
| 110 | wave_0_per_point23=a = 1-sw; |
| 111 | wave_0_per_point24=a = max(0,min(a,1)); |
| 112 | wave_0_per_point25= |
| 113 | wave_0_per_point26=x = (x-0.5)*(q31/q32) + 0.5; |
| 114 | wave_0_per_point27=y = (y-0.5)*(q32/q31) + 0.5; |
| 115 | wavecode_1_enabled=0 |
| 116 | wavecode_1_samples=512 |
| 117 | wavecode_1_sep=256 |
| 118 | wavecode_1_bSpectrum=1 |
| 119 | wavecode_1_bUseDots=0 |
| 120 | wavecode_1_bDrawThick=1 |
| 121 | wavecode_1_bAdditive=0 |
| 122 | wavecode_1_scaling=1.00000 |
| 123 | wavecode_1_smoothing=0.00000 |
| 124 | wavecode_1_r=1.000 |
| 125 | wavecode_1_g=1.000 |
| 126 | wavecode_1_b=1.000 |
| 127 | wavecode_1_a=1.000 |
| 128 | wave_1_per_point1=sw = (1-sw)*below(sample,1); |
| 129 | wave_1_per_point2= |
| 130 | wave_1_per_point3=osa = sample*above(sample,0); |
| 131 | wave_1_per_point4= |
| 132 | wave_1_per_point5=mod = pow(value2*2,2)*sign(value2)*.5; |
| 133 | wave_1_per_point6= |
| 134 | wave_1_per_point7=mod = value2; |
| 135 | wave_1_per_point8=mod = mod*sw; |
| 136 | wave_1_per_point9= |
| 137 | wave_1_per_point10=y = if(sw,osa,sample); |
| 138 | wave_1_per_point11=y = sample; |
| 139 | wave_1_per_point12=x = .5 + mod*.5; |
| 140 | wave_1_per_point13= |
| 141 | wave_1_per_point14=osa = sample; |
| 142 | wave_1_per_point15= |
| 143 | wave_1_per_point16=mo = 3.7 + mod*6 + q10; |
| 144 | wave_1_per_point17= |
| 145 | wave_1_per_point18=r = q17;//.5 + sin(mo)*.5; |
| 146 | wave_1_per_point19=g = q15;//.5 + sin(mo + 1.0472)*.5; |
| 147 | wave_1_per_point20=b = q16;//.5 + sin(mo + 2.0944)*.5; |
| 148 | wave_1_per_point21= |
| 149 | wave_1_per_point22=a = 1 - abs(mod)*12; |
| 150 | wave_1_per_point23=a = 1-sw; |
| 151 | wave_1_per_point24=a = max(0,min(a,1)); |
| 152 | wave_1_per_point25= |
| 153 | wave_1_per_point26=x = (x-0.5)*(q31/q32) + 0.5; |
| 154 | wave_1_per_point27=y = (y-0.5)*(q32/q31) + 0.5; |
| 155 | wavecode_2_enabled=0 |
| 156 | wavecode_2_samples=512 |
| 157 | wavecode_2_sep=0 |
| 158 | wavecode_2_bSpectrum=1 |
| 159 | wavecode_2_bUseDots=0 |
| 160 | wavecode_2_bDrawThick=0 |
| 161 | wavecode_2_bAdditive=0 |
| 162 | wavecode_2_scaling=1.00000 |
| 163 | wavecode_2_smoothing=0.50000 |
| 164 | wavecode_2_r=1.000 |
| 165 | wavecode_2_g=0.000 |
| 166 | wavecode_2_b=0.000 |
| 167 | wavecode_2_a=1.000 |
| 168 | wave_2_init1=chance = 0; |
| 169 | wave_2_per_frame1=x = if(q9,q15,x); |
| 170 | wave_2_per_frame2=y = if(q9,q16,y); |
| 171 | wave_2_per_frame3=v = if(q9,q19,v); |
| 172 | wave_2_per_frame4=w = if(q9,q20,w); |
| 173 | wave_2_per_frame5= |
| 174 | wave_2_per_frame6=ref_w = if(q9, q10, ref_w); |
| 175 | wave_2_per_frame7= |
| 176 | wave_2_per_frame8=t1 = x; |
| 177 | wave_2_per_frame9=t2 = y; |
| 178 | wave_2_per_frame10=t3 = v; |
| 179 | wave_2_per_frame11=t4 = w; |
| 180 | wave_2_per_frame12=t5 = ref_w; |
| 181 | wave_2_per_frame13= |
| 182 | wave_2_per_frame14=t8 = 1; |
| 183 | wave_2_per_point1=x = t1 + sample*sin(t5)*t3*20*cos(t4-t5); |
| 184 | wave_2_per_point2=y = t2 + sample*cos(t5)*t3*20*cos(t4-t5); |
| 185 | wave_2_per_point3= |
| 186 | wave_2_per_point4=x = 0.5 + (x-0.5); |
| 187 | wave_2_per_point5=y = 0.5 + (y-0.5); |
| 188 | wavecode_3_enabled=0 |
| 189 | wavecode_3_samples=512 |
| 190 | wavecode_3_sep=0 |
| 191 | wavecode_3_bSpectrum=1 |
| 192 | wavecode_3_bUseDots=0 |
| 193 | wavecode_3_bDrawThick=0 |
| 194 | wavecode_3_bAdditive=0 |
| 195 | wavecode_3_scaling=1.00000 |
| 196 | wavecode_3_smoothing=0.50000 |
| 197 | wavecode_3_r=1.000 |
| 198 | wavecode_3_g=0.000 |
| 199 | wavecode_3_b=0.000 |
| 200 | wavecode_3_a=1.000 |
| 201 | wave_3_init1=chance = 0; |
| 202 | wave_3_per_frame1=x = if(q9,q15,x); |
| 203 | wave_3_per_frame2=y = if(q9,q16,y); |
| 204 | wave_3_per_frame3=v = if(q9,q19,v); |
| 205 | wave_3_per_frame4=w = if(q9,q20,w); |
| 206 | wave_3_per_frame5= |
| 207 | wave_3_per_frame6=ref_w = if(q9, q10 + asin(1), ref_w); |
| 208 | wave_3_per_frame7= |
| 209 | wave_3_per_frame8=t1 = x; |
| 210 | wave_3_per_frame9=t2 = y; |
| 211 | wave_3_per_frame10=t3 = v; |
| 212 | wave_3_per_frame11=t4 = w; |
| 213 | wave_3_per_frame12=t5 = ref_w; |
| 214 | wave_3_per_frame13= |
| 215 | wave_3_per_frame14=t8 = 1; |
| 216 | wave_3_per_point1=x = t1 + sample*sin(t5)*t3*20*cos(t4-t5); |
| 217 | wave_3_per_point2=y = t2 + sample*cos(t5)*t3*20*cos(t4-t5); |
| 218 | wave_3_per_point3= |
| 219 | wave_3_per_point4=x = 0.5 + (x-0.5); |
| 220 | wave_3_per_point5=y = 0.5 + (y-0.5); |
| 221 | shapecode_0_enabled=1 |
| 222 | shapecode_0_sides=3 |
| 223 | shapecode_0_additive=1 |
| 224 | shapecode_0_thickOutline=0 |
| 225 | shapecode_0_textured=0 |
| 226 | shapecode_0_num_inst=41 |
| 227 | shapecode_0_x=0.500 |
| 228 | shapecode_0_y=0.500 |
| 229 | shapecode_0_rad=0.02770 |
| 230 | shapecode_0_ang=6.03186 |
| 231 | shapecode_0_tex_ang=6.03186 |
| 232 | shapecode_0_tex_zoom=0.68390 |
| 233 | shapecode_0_r=1.000 |
| 234 | shapecode_0_g=0.000 |
| 235 | shapecode_0_b=0.000 |
| 236 | shapecode_0_a=0.200 |
| 237 | shapecode_0_r2=1.000 |
| 238 | shapecode_0_g2=0.000 |
| 239 | shapecode_0_b2=0.000 |
| 240 | shapecode_0_a2=0.200 |
| 241 | shapecode_0_border_r=0.000 |
| 242 | shapecode_0_border_g=0.000 |
| 243 | shapecode_0_border_b=0.000 |
| 244 | shapecode_0_border_a=0.200 |
| 245 | shape_0_per_frame1=x = q3; |
| 246 | shape_0_per_frame2=y = q4; |
| 247 | shape_0_per_frame3=rad = q5; |
| 248 | shape_0_per_frame4= |
| 249 | shape_0_per_frame5=isiz=q30; |
| 250 | shape_0_per_frame6=volint=int((bass+treb+mid)*2.5); |
| 251 | shape_0_per_frame7=coff1=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 252 | shape_0_per_frame8=coff2=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 253 | shape_0_per_frame9=negsw1=pow(-1,int(rand(2))%2); |
| 254 | shape_0_per_frame10=negsw2=pow(-1,int(rand(2))%2); |
| 255 | shape_0_per_frame11=x = 0.5 + isiz*coff1*negsw1+(x-0.5); |
| 256 | shape_0_per_frame12=y = 0.5 + isiz*coff2*negsw2+(y-0.5); |
| 257 | shape_0_per_frame13=//x = 0.5 + (x-0.5); |
| 258 | shape_0_per_frame14=//y = 0.5 + (y-0.5); |
| 259 | shape_0_per_frame15= |
| 260 | shape_0_per_frame16=xdir = x - t1; |
| 261 | shape_0_per_frame17=ydir = y - t2; |
| 262 | shape_0_per_frame18=dir = xdir/ydir; |
| 263 | shape_0_per_frame19=bdir = .5*bdir + .5*dir; |
| 264 | shape_0_per_frame20=roll = roll - bdir; |
| 265 | shape_0_per_frame21= |
| 266 | shape_0_per_frame22=ang = roll/6.28; |
| 267 | shape_0_per_frame23= |
| 268 | shape_0_per_frame24=t1 = x; |
| 269 | shape_0_per_frame25=t2 = y; |
| 270 | shape_0_per_frame26=r=q15; |
| 271 | shape_0_per_frame27=g=q16; |
| 272 | shape_0_per_frame28=b=q17; |
| 273 | shape_0_per_frame29=r2=q16; |
| 274 | shape_0_per_frame30=g2=q15; |
| 275 | shape_0_per_frame31=b2=q17; |
| 276 | shape_0_per_frame32=border_r=q17; |
| 277 | shape_0_per_frame33=border_g=q16; |
| 278 | shape_0_per_frame34=border_b=q15; |
| 279 | shapecode_1_enabled=1 |
| 280 | shapecode_1_sides=4 |
| 281 | shapecode_1_additive=1 |
| 282 | shapecode_1_thickOutline=0 |
| 283 | shapecode_1_textured=0 |
| 284 | shapecode_1_num_inst=41 |
| 285 | shapecode_1_x=0.500 |
| 286 | shapecode_1_y=0.500 |
| 287 | shapecode_1_rad=0.02770 |
| 288 | shapecode_1_ang=6.03186 |
| 289 | shapecode_1_tex_ang=6.03186 |
| 290 | shapecode_1_tex_zoom=0.68390 |
| 291 | shapecode_1_r=0.000 |
| 292 | shapecode_1_g=0.000 |
| 293 | shapecode_1_b=1.000 |
| 294 | shapecode_1_a=0.200 |
| 295 | shapecode_1_r2=0.000 |
| 296 | shapecode_1_g2=0.000 |
| 297 | shapecode_1_b2=1.000 |
| 298 | shapecode_1_a2=0.200 |
| 299 | shapecode_1_border_r=0.000 |
| 300 | shapecode_1_border_g=0.000 |
| 301 | shapecode_1_border_b=0.000 |
| 302 | shapecode_1_border_a=0.200 |
| 303 | shape_1_per_frame1=x = q6; |
| 304 | shape_1_per_frame2=y = q7; |
| 305 | shape_1_per_frame3=rad = q8; |
| 306 | shape_1_per_frame4= |
| 307 | shape_1_per_frame5= |
| 308 | shape_1_per_frame6=isiz=q30; |
| 309 | shape_1_per_frame7=volint=int((bass+treb+mid)*2.5); |
| 310 | shape_1_per_frame8=coff1=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 311 | shape_1_per_frame9=coff2=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 312 | shape_1_per_frame10=negsw1=pow(-1,int(rand(2))%2); |
| 313 | shape_1_per_frame11=negsw2=pow(-1,int(rand(2))%2); |
| 314 | shape_1_per_frame12=x = 0.5 + isiz*coff1*negsw1+(x-0.5); |
| 315 | shape_1_per_frame13=y = 0.5 + isiz*coff2*negsw2+(y-0.5); |
| 316 | shape_1_per_frame14=//x = 0.5 + (x-0.5); |
| 317 | shape_1_per_frame15=//y = 0.5 + (y-0.5); |
| 318 | shape_1_per_frame16= |
| 319 | shape_1_per_frame17= |
| 320 | shape_1_per_frame18= |
| 321 | shape_1_per_frame19=xdir = x - t1; |
| 322 | shape_1_per_frame20=ydir = y - t2; |
| 323 | shape_1_per_frame21=dir = xdir/ydir; |
| 324 | shape_1_per_frame22=bdir = .5*bdir + .5*dir; |
| 325 | shape_1_per_frame23=roll = roll - bdir; |
| 326 | shape_1_per_frame24=ang = roll/6.28; |
| 327 | shape_1_per_frame25= |
| 328 | shape_1_per_frame26=t1 = x; |
| 329 | shape_1_per_frame27=t2 = y; |
| 330 | shape_1_per_frame28=r=q17; |
| 331 | shape_1_per_frame29=g=q15; |
| 332 | shape_1_per_frame30=b=q16; |
| 333 | shape_1_per_frame31=r2=q16; |
| 334 | shape_1_per_frame32=g2=q17; |
| 335 | shape_1_per_frame33=b2=q15; |
| 336 | shape_1_per_frame34=border_r=q16; |
| 337 | shape_1_per_frame35=border_g=q15; |
| 338 | shape_1_per_frame36=border_b=q17; |
| 339 | shapecode_2_enabled=1 |
| 340 | shapecode_2_sides=5 |
| 341 | shapecode_2_additive=1 |
| 342 | shapecode_2_thickOutline=0 |
| 343 | shapecode_2_textured=0 |
| 344 | shapecode_2_num_inst=41 |
| 345 | shapecode_2_x=0.500 |
| 346 | shapecode_2_y=0.500 |
| 347 | shapecode_2_rad=0.02770 |
| 348 | shapecode_2_ang=6.03186 |
| 349 | shapecode_2_tex_ang=6.03186 |
| 350 | shapecode_2_tex_zoom=0.68390 |
| 351 | shapecode_2_r=0.000 |
| 352 | shapecode_2_g=1.000 |
| 353 | shapecode_2_b=0.000 |
| 354 | shapecode_2_a=0.200 |
| 355 | shapecode_2_r2=0.000 |
| 356 | shapecode_2_g2=1.000 |
| 357 | shapecode_2_b2=0.000 |
| 358 | shapecode_2_a2=0.200 |
| 359 | shapecode_2_border_r=0.000 |
| 360 | shapecode_2_border_g=0.000 |
| 361 | shapecode_2_border_b=0.000 |
| 362 | shapecode_2_border_a=0.200 |
| 363 | shape_2_per_frame1=x = q9; |
| 364 | shape_2_per_frame2=y = q10; |
| 365 | shape_2_per_frame3=rad = q11; |
| 366 | shape_2_per_frame4= |
| 367 | shape_2_per_frame5=//x = 0.5 + (x-0.5); |
| 368 | shape_2_per_frame6=//y = 0.5 + (y-0.5); |
| 369 | shape_2_per_frame7= |
| 370 | shape_2_per_frame8=isiz=q30; |
| 371 | shape_2_per_frame9=volint=int((bass+treb+mid)*2.5); |
| 372 | shape_2_per_frame10=coff1=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 373 | shape_2_per_frame11=coff2=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 374 | shape_2_per_frame12=negsw1=pow(-1,int(rand(2))%2); |
| 375 | shape_2_per_frame13=negsw2=pow(-1,int(rand(2))%2); |
| 376 | shape_2_per_frame14=x = 0.5 + isiz*coff1*negsw1+(x-0.5); |
| 377 | shape_2_per_frame15=y = 0.5 + isiz*coff2*negsw2+(y-0.5); |
| 378 | shape_2_per_frame16= |
| 379 | shape_2_per_frame17= |
| 380 | shape_2_per_frame18=xdir = x - t1; |
| 381 | shape_2_per_frame19=ydir = y - t2; |
| 382 | shape_2_per_frame20=dir = xdir/ydir; |
| 383 | shape_2_per_frame21=bdir = .5*bdir + .5*dir; |
| 384 | shape_2_per_frame22=roll = roll - bdir; |
| 385 | shape_2_per_frame23=ang = roll/6.28; |
| 386 | shape_2_per_frame24= |
| 387 | shape_2_per_frame25=t1 = x; |
| 388 | shape_2_per_frame26=t2 = y; |
| 389 | shape_2_per_frame27=r=q17; |
| 390 | shape_2_per_frame28=g=q16; |
| 391 | shape_2_per_frame29=b=q15; |
| 392 | shape_2_per_frame30=r2=q16; |
| 393 | shape_2_per_frame31=g2=q17; |
| 394 | shape_2_per_frame32=b2=q15; |
| 395 | shape_2_per_frame33=border_r=q15; |
| 396 | shape_2_per_frame34=border_g=q16; |
| 397 | shape_2_per_frame35=border_b=q17; |
| 398 | shapecode_3_enabled=1 |
| 399 | shapecode_3_sides=7 |
| 400 | shapecode_3_additive=1 |
| 401 | shapecode_3_thickOutline=1 |
| 402 | shapecode_3_textured=0 |
| 403 | shapecode_3_num_inst=41 |
| 404 | shapecode_3_x=0.500 |
| 405 | shapecode_3_y=0.500 |
| 406 | shapecode_3_rad=0.02770 |
| 407 | shapecode_3_ang=6.03186 |
| 408 | shapecode_3_tex_ang=6.03186 |
| 409 | shapecode_3_tex_zoom=0.68390 |
| 410 | shapecode_3_r=0.000 |
| 411 | shapecode_3_g=1.000 |
| 412 | shapecode_3_b=0.000 |
| 413 | shapecode_3_a=0.000 |
| 414 | shapecode_3_r2=0.000 |
| 415 | shapecode_3_g2=1.000 |
| 416 | shapecode_3_b2=0.000 |
| 417 | shapecode_3_a2=0.000 |
| 418 | shapecode_3_border_r=1.000 |
| 419 | shapecode_3_border_g=1.000 |
| 420 | shapecode_3_border_b=1.000 |
| 421 | shapecode_3_border_a=1.000 |
| 422 | shape_3_per_frame1=x = q12; |
| 423 | shape_3_per_frame2=y = q13; |
| 424 | shape_3_per_frame3=rad = q14; |
| 425 | shape_3_per_frame4= |
| 426 | shape_3_per_frame5=isiz=q30; |
| 427 | shape_3_per_frame6=volint=int((bass+treb+mid)*2.5); |
| 428 | shape_3_per_frame7=coff1=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 429 | shape_3_per_frame8=coff2=(int(rand(instance-instance+10))%volint+.01)*.1; |
| 430 | shape_3_per_frame9=negsw1=pow(-1,int(rand(2))%2); |
| 431 | shape_3_per_frame10=negsw2=pow(-1,int(rand(2))%2); |
| 432 | shape_3_per_frame11=x = 0.5 + isiz*coff1*negsw1+(x-0.5); |
| 433 | shape_3_per_frame12=y = 0.5 + isiz*coff2*negsw2+(y-0.5); |
| 434 | shape_3_per_frame13=//x = 0.5 + (x-0.5); |
| 435 | shape_3_per_frame14=//y = 0.5 + (y-0.5); |
| 436 | shape_3_per_frame15= |
| 437 | shape_3_per_frame16=xdir = x - t1; |
| 438 | shape_3_per_frame17=ydir = y - t2; |
| 439 | shape_3_per_frame18=dir = xdir/ydir; |
| 440 | shape_3_per_frame19=bdir = .5*bdir + .5*dir; |
| 441 | shape_3_per_frame20=roll = roll + bdir; |
| 442 | shape_3_per_frame21=ang = roll/6.28; |
| 443 | shape_3_per_frame22= |
| 444 | shape_3_per_frame23=t1 = x; |
| 445 | shape_3_per_frame24=t2 = y; |
| 446 | shape_3_per_frame25=border_r=q15; |
| 447 | shape_3_per_frame26=border_g=q17; |
| 448 | shape_3_per_frame27=border_b=q16; |
| 449 | per_frame_init_1=x1 = 0.5; |
| 450 | per_frame_init_2=x2 = 0.51; |
| 451 | per_frame_init_3= |
| 452 | per_frame_init_4=y2 = 0.9; |
| 453 | per_frame_init_5=y1 = 0.7; |
| 454 | per_frame_init_6= |
| 455 | per_frame_init_7=x3 = 0.8; |
| 456 | per_frame_init_8=y3 = 0.5; |
| 457 | per_frame_init_9= |
| 458 | per_frame_init_10=x4 = 0.2; |
| 459 | per_frame_init_11=y4 = 0.5; |
| 460 | per_frame_init_12= |
| 461 | per_frame_init_13= |
| 462 | per_frame_init_14=ax1 = 0; |
| 463 | per_frame_init_15=ay1 = 0; |
| 464 | per_frame_init_16=ax2 = 0; |
| 465 | per_frame_init_17=ay2 = 0; |
| 466 | per_frame_init_18=ax3 = 0; |
| 467 | per_frame_init_19=ay3 = 0; |
| 468 | per_frame_init_20= |
| 469 | per_frame_init_21=vx1 = 0.000; |
| 470 | per_frame_init_22=vx2 = 0.000; |
| 471 | per_frame_1=zoom = 1; |
| 472 | per_frame_2=warp = 0; |
| 473 | per_frame_3=wave_a = 0; |
| 474 | per_frame_4= |
| 475 | per_frame_5=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo |
| 476 | per_frame_6=r = 0.04+ max(bass_att,treb_att)*0.04; |
| 477 | per_frame_7=bounce = below(y1,r);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.94 + (r-y1)*0.1, vy1-0.0003*60/fps); |
| 478 | per_frame_8=bounce = below(x1,r);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.94 + (r-x1)*0.1, vx1); |
| 479 | per_frame_9=bounce = above(x1,1-r);vx1 = if(bounce, - abs(vx1)*0.94 + (1-r-x1)*0.04, vx1); |
| 480 | per_frame_10=bounce = above(y1,1-r);vy1 = if(bounce, - abs(vy1)*0.94 + (1-r-y1)*0.04, vy1);//test ceiling |
| 481 | per_frame_11= |
| 482 | per_frame_12=bounce = below(y2,r);y2 = y2 + vy2;vy2 = if(bounce,abs(vy2)*0.94+(r-y2)*.1, vy2-0.0003*60/fps); |
| 483 | per_frame_13=bounce = below(x2,r);x2 = x2+ vx2;vx2 = if(bounce, abs(vx2)*0.94 + (r-x2)*0.1, vx2); |
| 484 | per_frame_14=bounce = above(x2,1-r);vx2 = if(bounce, - abs(vx2)*0.94 + (1-r-x2)*0.1, vx2); |
| 485 | per_frame_15=bounce = above(y2,1-r);vy2 = if(bounce, - abs(vy2)*0.94 + (1-r-y2)*0.1, vy2); |
| 486 | per_frame_16= |
| 487 | per_frame_17=bounce = below(y3,r);y3 = y3 + vy3;vy3 = if(bounce,abs(vy3)*0.94+(r-y3)*.1, vy3-0.0003*60/fps); |
| 488 | per_frame_18=bounce = below(x3,r);x3 = x3+ vx3;vx3 = if(bounce, abs(vx3)*0.94 + (r-x3)*0.1, vx3); |
| 489 | per_frame_19=bounce = above(x3,1-r);vx3 = if(bounce, - abs(vx3)*0.94 + (1-r-x3)*0.1, vx3); |
| 490 | per_frame_20=bounce = above(y3,1-r);vy3 = if(bounce, - abs(vy3)*0.94 + (1-r-y3)*0.1, vy3); |
| 491 | per_frame_21= |
| 492 | per_frame_22=bounce = below(y4,r);y4 = y4 + vy4;vy4 = if(bounce,abs(vy4)*0.94+(r-y4)*.1, vy4-0.0003*60/fps); |
| 493 | per_frame_23=bounce = below(x4,r);x4 = x4+ vx4;vx4 = if(bounce, abs(vx4)*0.94 + (r-x4)*0.1, vx4); |
| 494 | per_frame_24=bounce = above(x4,1-r);vx4 = if(bounce, - abs(vx4)*0.94 + (1-r-x4)*0.1, vx4); |
| 495 | per_frame_25=bounce = above(y4,1-r);vy4 = if(bounce, - abs(vy4)*0.94 + (1-r-y4)*0.1, vy4); |
| 496 | per_frame_26= |
| 497 | per_frame_27=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r); |
| 498 | per_frame_28=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent |
| 499 | per_frame_29=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2); |
| 500 | per_frame_30=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); |
| 501 | per_frame_31=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); |
| 502 | per_frame_32=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2); |
| 503 | per_frame_33=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2); |
| 504 | per_frame_34=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r); |
| 505 | per_frame_35=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent |
| 506 | per_frame_36=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3); |
| 507 | per_frame_37=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); |
| 508 | per_frame_38=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); |
| 509 | per_frame_39=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); |
| 510 | per_frame_40=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); |
| 511 | per_frame_41=bounce = below( sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)), 2*r); |
| 512 | per_frame_42=ref_ang = atan2(x3-x2,y3-y2)+asin(1); // common tangent |
| 513 | per_frame_43=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx2,vy2);w2 = atan2(vx3,vy3); |
| 514 | per_frame_44=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); |
| 515 | per_frame_45=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); |
| 516 | per_frame_46=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); |
| 517 | per_frame_47=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); |
| 518 | per_frame_48=bounce = below( sqrt( sqr(x1+vx1-x4-vx4) + sqr(y1+vy1-y4-vy4)), 2*r); |
| 519 | per_frame_49=ref_ang = atan2(x4-x1,y4-y1)+asin(1); // common tangent |
| 520 | per_frame_50=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx1,vy1);w2 = atan2(vx4,vy4); |
| 521 | per_frame_51=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); |
| 522 | per_frame_52=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); |
| 523 | per_frame_53=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); |
| 524 | per_frame_54=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); |
| 525 | per_frame_55=bounce = below( sqrt( sqr(x2+vx2-x4-vx4) + sqr(y2+vy2-y4-vy4)), 2*r); |
| 526 | per_frame_56=ref_ang = atan2(x4-x2,y4-y2)+asin(1); // common tangent |
| 527 | per_frame_57=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx2,vy2);w2 = atan2(vx4,vy4); |
| 528 | per_frame_58=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); |
| 529 | per_frame_59=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); |
| 530 | per_frame_60=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); |
| 531 | per_frame_61=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); |
| 532 | per_frame_62=bounce = below( sqrt( sqr(x3+vx3-x4-vx4) + sqr(y3+vy3-y4-vy4)), 2*r); |
| 533 | per_frame_63=ref_ang = atan2(x4-x3,y4-y3)+asin(1); // common tangent |
| 534 | per_frame_64=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx3,vy3);w2 = atan2(vx4,vy4); |
| 535 | per_frame_65=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3); |
| 536 | per_frame_66=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3); |
| 537 | per_frame_67=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); |
| 538 | per_frame_68=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); |
| 539 | per_frame_69=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo |
| 540 | per_frame_70= |
| 541 | per_frame_71=q1 = aspectx; |
| 542 | per_frame_72=q2 = aspecty; |
| 543 | per_frame_73=q3 = x1; q4 = y1; q5 = r*2; |
| 544 | per_frame_74=q6 = x2; q7 = y2; q8 = r*2; |
| 545 | per_frame_75=q9 = x3; q10 = y3; q11 = r*2; |
| 546 | per_frame_76=q12 = x4; q13 = y4; q14 = r*2; |
| 547 | per_frame_77=q30=.2; |
| 548 | per_frame_78=q20=4*asin(-1)*.33333333333333; |
| 549 | per_frame_79=q15= (sin((time+bass+treb+mid)*.4-0*q20)+1)*.5; |
| 550 | per_frame_80=q16= (sin((time+bass+treb+mid)*.4-1*q20)+1)*.5; |
| 551 | per_frame_81=q17= (sin((time+bass+treb+mid)*.4-2*q20)+1)*.5; |
| 552 | per_frame_82=monitor=q19; |
| 553 | per_frame_83=q31=pixelsx; |
| 554 | per_frame_84=q32=pixelsy; |
| 555 | per_frame_85=dx=-(bass+treb+mid)*.01; |
| 556 | warp_1=`shader_body |
| 557 | warp_2=`{ |
| 558 | warp_3=` float2 noise_uv = uv*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 559 | warp_4=` float4 noiseVal = tex2D(sampler_noise_lq, noise_uv); |
| 560 | warp_5=` |
| 561 | warp_6=`float2 adj = texsize.zw; |
| 562 | warp_7=`//float2 adj = 0; |
| 563 | warp_8=` |
| 564 | warp_9=`float2 uvn = uv + .005*noiseVal + float2(-1.1,-1.5)*adj; |
| 565 | warp_10=` |
| 566 | warp_11=`// sample previous frame |
| 567 | warp_12=` ret = tex2D( sampler_main, uv ).xyz; |
| 568 | warp_13=`// darken (decay) over time |
| 569 | warp_14=` ret.x = (ret.x-1.4*q6)*(1-q6*2.5); //or try: ret -= 0.004; |
| 570 | warp_15=` |
| 571 | warp_16=` |
| 572 | warp_17=`float burn = saturate(GetBlur1(uvn).x + (0.5-noiseVal)*.15); |
| 573 | warp_18=`float fuel = pow(ret.z*1 + GetBlur1(uv).z*.0,1); |
| 574 | warp_19=` |
| 575 | warp_20=`ret.y = 0; |
| 576 | warp_21=` |
| 577 | warp_22=`if (burn > 0.1) |
| 578 | warp_23=`{ |
| 579 | warp_24=`ret.x = fuel*q6*60; |
| 580 | warp_25=`ret.z -= ret.z*q6*120; |
| 581 | warp_26=`} |
| 582 | warp_27=` |
| 583 | warp_28=`else {ret.z += 1.3*q6; |
| 584 | warp_29=`//ret.x = 0; |
| 585 | warp_30=`} |
| 586 | warp_31=` |
| 587 | warp_32=`} |
| 588 | comp_1=`shader_body |
| 589 | comp_2=`{ |
| 590 | comp_3=`ret = tex2D(sampler_main, uv).x, |
| 591 | comp_4=` |
| 592 | comp_5=`ret = lerp ( |
| 593 | comp_6=`GetBlur1(uv).x + GetBlur3(uv).x, |
| 594 | comp_7=`ret, |
| 595 | comp_8=`pow(ret,1)); |
| 596 | comp_9=` |
| 597 | comp_10=`// ret = tex2D(sampler_main, uv).x - GetBlur1(uv).x; |
| 598 | comp_11=` ret = pow(ret,float3(5,1,.5)); |
| 599 | comp_12=` ret *= 1.0; //gamma |
| 600 | comp_13=` |
| 601 | comp_14=`} |